Pelecardwc\Transaction D

Total Complexity 351
Dependencies 6
Dependents 3
Total lines 693
Lines of code 568
Logical lines of code 931
Comment lines 4
Methods 49
Properties 4

Methods 49

Method Rating Maintainability Complexity Lines of code
set_data()
D
0
282 331
set_meta_data()
S
58 5 15
__construct()
S
68 3 7
get_transaction()
S
74 3 4
get_order_id()
S
63 3 10
set_json_data()
S
64 3 10
save()
S
65 3 9
get_unique_key()
S
69 2 7
get_3ds_params()
S
66 2 8
get_total_payments()
S
74 2 4
get_card_type()
S
68 2 7
exists()
S
69 2 6
is_token_valid()
S
78 2 3
flatten()
S
64 2 10
get_token_object()
S
62 1 11
set_error_message()
S
76 1 4
get_status_code()
S
79 1 3
get_expiry_year()
S
74 1 4
get_card_expiry()
S
79 1 3
get_expiry_month()
S
79 1 3
set_id()
S
77 1 4
is_success()
S
80 1 3
is_timeout()
S
79 1 3
get_card_type_by_brand()
S
65 1 9
is_3ds_failure()
S
79 1 3
is_bank_transfer_failure()
S
79 1 3
get_id()
S
82 1 3
get_action_type()
S
79 1 3
is_action_type()
S
80 1 3
set_get_transaction_flag()
S
80 1 3
get_card_type_by_company()
S
63 1 10
get_card_brand()
S
78 1 3
get_card_company()
S
78 1 3
get_timeout_redirect_url()
S
79 1 3
validate()
S
70 1 6
set_status_code()
S
76 1 4
get_order()
S
76 1 4
needs_validation()
S
79 1 3
set_validate()
S
77 1 4
get_user_id()
S
78 1 3
get_meta_data_by_key()
S
79 1 3
get_error_message()
S
79 1 3
set_order_id()
S
75 1 4
get_token()
S
79 1 3
get_debit_approve_number()
S
79 1 3
get_last4()
S
79 1 3
get_card_number()
S
79 1 3
is_uuid()
S
75 1 4
get_get_transaction_flag()
S
80 1 3